# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=libdv
pkgver=1.0.0
pkgrel=11
pkgdesc='Decoder library for DV video'
arch=('loong64' 'x86_64')
url='https://libdv.sourceforge.net/'
license=('LGPL')
depends=('glibc' 'popt')
source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('a305734033a9c25541a59e8dd1c254409953269ea7c710c39e540bd8853389ba')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-gtk
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
